Interface VendorNetworkFunctionsClient
public interface VendorNetworkFunctionsClient
An instance of this class provides access to all the operations defined in VendorNetworkFunctionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorNetworkFunctionInner>,
VendorNetworkFunctionInner> beginCreateOrUpdate
(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters) Creates or updates a vendor network function.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorNetworkFunctionInner>,
VendorNetworkFunctionInner> beginCreateOrUpdate
(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters, com.azure.core.util.Context context) Creates or updates a vendor network function.createOrUpdate
(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters) Creates or updates a vendor network function.createOrUpdate
(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters, com.azure.core.util.Context context) Creates or updates a vendor network function.Gets information about the specified vendor network function.com.azure.core.http.rest.Response<VendorNetworkFunctionInner>
getWithResponse
(String locationName, String vendorName, String serviceKey, com.azure.core.util.Context context) Gets information about the specified vendor network function.com.azure.core.http.rest.PagedIterable<VendorNetworkFunctionInner>
Lists all the vendor network function sub resources in an Azure region, filtered by skuType, skuName, vendorProvisioningState.com.azure.core.http.rest.PagedIterable<VendorNetworkFunctionInner>
Lists all the vendor network function sub resources in an Azure region, filtered by skuType, skuName, vendorProvisioningState.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<VendorNetworkFunctionInner> getWithResponse(String locationName, String vendorName, String serviceKey, com.azure.core.util.Context context) Gets information about the specified vendor network function.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.context
- The context to associate with this operation.- Returns:
- information about the specified vendor network function along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Gets information about the specified vendor network function.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.- Returns:
- information about the specified vendor network function.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorNetworkFunctionInner>,VendorNetworkFunctionInner> beginCreateOrUpdate(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters) Creates or updates a vendor network function. This operation can take up to 6 hours to complete. This is expected service behavior.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.parameters
- Parameters supplied to the create or update vendor network function operation.- Returns:
- the
SyncPoller
for polling of vendor network function sub resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VendorNetworkFunctionInner>,VendorNetworkFunctionInner> beginCreateOrUpdate(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters, com.azure.core.util.Context context) Creates or updates a vendor network function. This operation can take up to 6 hours to complete. This is expected service behavior.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.parameters
- Parameters supplied to the create or update vendor network function operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of vendor network function sub resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VendorNetworkFunctionInner createOrUpdate(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters) Creates or updates a vendor network function. This operation can take up to 6 hours to complete. This is expected service behavior.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.parameters
- Parameters supplied to the create or update vendor network function operation.- Returns:
- vendor network function sub resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VendorNetworkFunctionInner createOrUpdate(String locationName, String vendorName, String serviceKey, VendorNetworkFunctionInner parameters, com.azure.core.util.Context context) Creates or updates a vendor network function. This operation can take up to 6 hours to complete. This is expected service behavior.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.serviceKey
- The GUID for the vendor network function.parameters
- Parameters supplied to the create or update vendor network function operation.context
- The context to associate with this operation.- Returns:
- vendor network function sub resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VendorNetworkFunctionInner> list(String locationName, String vendorName) Lists all the vendor network function sub resources in an Azure region, filtered by skuType, skuName, vendorProvisioningState.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.- Returns:
- response for vendors API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<VendorNetworkFunctionInner> list(String locationName, String vendorName, String filter, com.azure.core.util.Context context) Lists all the vendor network function sub resources in an Azure region, filtered by skuType, skuName, vendorProvisioningState.- Parameters:
locationName
- The Azure region where the network function resource was created by the customer.vendorName
- The name of the vendor.filter
- The filter to apply on the operation. The properties you can use for eq (equals) are: skuType, skuName and vendorProvisioningState.context
- The context to associate with this operation.- Returns:
- response for vendors API service call as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-