Endpoints interface
Interface representing a Endpoints.
Methods
create |
Create or update a Traffic Manager endpoint. |
delete(string, string, Endpoint |
Deletes a Traffic Manager endpoint. |
get(string, string, Endpoint |
Gets a Traffic Manager endpoint. |
update(string, string, Endpoint |
Update a Traffic Manager endpoint. |
Method Details
createOrUpdate(string, string, EndpointType, string, Endpoint, EndpointsCreateOrUpdateOptionalParams)
Create or update a Traffic Manager endpoint.
function createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<Endpoint>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- endpointType
- EndpointType
The type of the Traffic Manager endpoint to be created or updated.
- endpointName
-
string
The name of the Traffic Manager endpoint to be created or updated.
- parameters
- Endpoint
The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation.
The options parameters.
Returns
Promise<Endpoint>
delete(string, string, EndpointType, string, EndpointsDeleteOptionalParams)
Deletes a Traffic Manager endpoint.
function delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<DeleteOperationResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- endpointType
- EndpointType
The type of the Traffic Manager endpoint to be deleted.
- endpointName
-
string
The name of the Traffic Manager endpoint to be deleted.
- options
- EndpointsDeleteOptionalParams
The options parameters.
Returns
Promise<DeleteOperationResult>
get(string, string, EndpointType, string, EndpointsGetOptionalParams)
Gets a Traffic Manager endpoint.
function get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<Endpoint>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- endpointType
- EndpointType
The type of the Traffic Manager endpoint.
- endpointName
-
string
The name of the Traffic Manager endpoint.
- options
- EndpointsGetOptionalParams
The options parameters.
Returns
Promise<Endpoint>
update(string, string, EndpointType, string, Endpoint, EndpointsUpdateOptionalParams)
Update a Traffic Manager endpoint.
function update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<Endpoint>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- profileName
-
string
The name of the Traffic Manager profile.
- endpointType
- EndpointType
The type of the Traffic Manager endpoint to be updated.
- endpointName
-
string
The name of the Traffic Manager endpoint to be updated.
- parameters
- Endpoint
The Traffic Manager endpoint parameters supplied to the Update operation.
- options
- EndpointsUpdateOptionalParams
The options parameters.
Returns
Promise<Endpoint>