Interface NetworkExperimentProfilesClient


public interface NetworkExperimentProfilesClient
An instance of this class provides access to all the operations defined in NetworkExperimentProfilesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ProfileInner> list()
      Gets a list of Network Experiment Profiles under a subscription.
      Returns:
      a list of Network Experiment Profiles under a subscription as paginated response with PagedIterable.
      Throws:
      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<ProfileInner> list(com.azure.core.util.Context context)
      Gets a list of Network Experiment Profiles under a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of Network Experiment Profiles under a subscription 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName)
      Gets a list of Network Experiment Profiles within a resource group under a subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      Returns:
      a list of Network Experiment Profiles within a resource group under a subscription 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<ProfileInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets a list of Network Experiment Profiles within a resource group under a subscription.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      context - The context to associate with this operation.
      Returns:
      a list of Network Experiment Profiles within a resource group under a subscription 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<ProfileInner> getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Gets an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      context - The context to associate with this operation.
      Returns:
      an NetworkExperiment Profile by ProfileName 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.
    • getByResourceGroup

      ProfileInner getByResourceGroup(String resourceGroupName, String profileName)
      Gets an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      Returns:
      an NetworkExperiment Profile by ProfileName.
      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<ProfileInner>,ProfileInner> beginCreateOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters)
      Creates an NetworkExperiment Profile.
      Parameters:
      profileName - The Profile identifier associated with the Tenant and Partner.
      resourceGroupName - Name of the Resource group within the Azure subscription.
      parameters - An Network Experiment Profile.
      Returns:
      the SyncPoller for polling of defines an Network Experiment Profile and lists of Experiments.
      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<ProfileInner>,ProfileInner> beginCreateOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters, com.azure.core.util.Context context)
      Creates an NetworkExperiment Profile.
      Parameters:
      profileName - The Profile identifier associated with the Tenant and Partner.
      resourceGroupName - Name of the Resource group within the Azure subscription.
      parameters - An Network Experiment Profile.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of defines an Network Experiment Profile and lists of Experiments.
      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

      ProfileInner createOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters)
      Creates an NetworkExperiment Profile.
      Parameters:
      profileName - The Profile identifier associated with the Tenant and Partner.
      resourceGroupName - Name of the Resource group within the Azure subscription.
      parameters - An Network Experiment Profile.
      Returns:
      defines an Network Experiment Profile and lists of Experiments.
      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

      ProfileInner createOrUpdate(String profileName, String resourceGroupName, ProfileInner parameters, com.azure.core.util.Context context)
      Creates an NetworkExperiment Profile.
      Parameters:
      profileName - The Profile identifier associated with the Tenant and Partner.
      resourceGroupName - Name of the Resource group within the Azure subscription.
      parameters - An Network Experiment Profile.
      context - The context to associate with this operation.
      Returns:
      defines an Network Experiment Profile and lists of Experiments.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, ProfileUpdateModel parameters)
      Updates an NetworkExperimentProfiles by NetworkExperimentProfile name

      Updates an NetworkExperimentProfiles.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      parameters - The Profile Update Model.
      Returns:
      the SyncPoller for polling of defines an Network Experiment Profile and lists of Experiments.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProfileInner>,ProfileInner> beginUpdate(String resourceGroupName, String profileName, ProfileUpdateModel parameters, com.azure.core.util.Context context)
      Updates an NetworkExperimentProfiles by NetworkExperimentProfile name

      Updates an NetworkExperimentProfiles.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      parameters - The Profile Update Model.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of defines an Network Experiment Profile and lists of Experiments.
      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.
    • update

      ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateModel parameters)
      Updates an NetworkExperimentProfiles by NetworkExperimentProfile name

      Updates an NetworkExperimentProfiles.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      parameters - The Profile Update Model.
      Returns:
      defines an Network Experiment Profile and lists of Experiments.
      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.
    • update

      ProfileInner update(String resourceGroupName, String profileName, ProfileUpdateModel parameters, com.azure.core.util.Context context)
      Updates an NetworkExperimentProfiles by NetworkExperimentProfile name

      Updates an NetworkExperimentProfiles.

      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      parameters - The Profile Update Model.
      context - The context to associate with this operation.
      Returns:
      defines an Network Experiment Profile and lists of Experiments.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • delete

      void delete(String resourceGroupName, String profileName)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      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.
    • delete

      void delete(String resourceGroupName, String profileName, com.azure.core.util.Context context)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      resourceGroupName - Name of the Resource group within the Azure subscription.
      profileName - The Profile identifier associated with the Tenant and Partner.
      context - The context to associate with this operation.
      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.