Interface NetworkExperimentProfiles


public interface NetworkExperimentProfiles
Resource collection API of NetworkExperimentProfiles.
  • Method Summary

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new Profile resource.
    void
    delete(String resourceGroupName, String profileName, com.azure.core.util.Context context)
    Deletes an NetworkExperiment Profile by ProfileName.
    void
    Deletes an NetworkExperiment Profile by ProfileName.
    void
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Deletes an NetworkExperiment Profile by ProfileName.
    void
    deleteByResourceGroup(String resourceGroupName, String profileName)
    Deletes an NetworkExperiment Profile by ProfileName.
    Gets an NetworkExperiment Profile by ProfileName.
    com.azure.core.http.rest.Response<Profile>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets an NetworkExperiment Profile by ProfileName.
    getByResourceGroup(String resourceGroupName, String profileName)
    Gets an NetworkExperiment Profile by ProfileName.
    com.azure.core.http.rest.Response<Profile>
    getByResourceGroupWithResponse(String resourceGroupName, String profileName, com.azure.core.util.Context context)
    Gets an NetworkExperiment Profile by ProfileName.
    com.azure.core.http.rest.PagedIterable<Profile>
    Gets a list of Network Experiment Profiles under a subscription.
    com.azure.core.http.rest.PagedIterable<Profile>
    list(com.azure.core.util.Context context)
    Gets a list of Network Experiment Profiles under a subscription.
    com.azure.core.http.rest.PagedIterable<Profile>
    listByResourceGroup(String resourceGroupName)
    Gets a list of Network Experiment Profiles within a resource group under a subscription.
    com.azure.core.http.rest.PagedIterable<Profile>
    listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
    Gets a list of Network Experiment Profiles within a resource group under a subscription.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Profile> 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<Profile> 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<Profile> 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<Profile> 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<Profile> 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

      Profile 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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.
    • getById

      Profile getById(String id)
      Gets an NetworkExperiment Profile by ProfileName.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Profile> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets an NetworkExperiment Profile by ProfileName.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes an NetworkExperiment Profile by ProfileName.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new Profile resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Profile definition.