swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector NetworkExperimentProfiles API description: The configuration of Network Experiment profiles schemes: - https tags: - name: NetworkExperimentProfiles description: The configuration of Network Experiment profiles paths: /subscriptions/{subscriptionId}/providers/Microsoft.Network/NetworkExperimentProfiles: get: tags: - NetworkExperimentProfiles summary: Microsoft Azure Gets A List Of Network Experiment Profiles Under A Subscription operationId: microsoftAzureNetworkexperimentprofilesList produces: - application/json parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter responses: '200': description: successful operation schema: $ref: '#/definitions/ProfileList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: List NetworkExperiment Profiles in a Resource Group: $ref: ./examples/NetworkExperimentListProfiles.json description: Needs a more full description created. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles: get: tags: - NetworkExperimentProfiles summary: Microsoft Azure Gets A List Of Network Experiment Profiles Within A Resource Group Under A Subscription operationId: microsoftAzureNetworkexperimentprofilesListbyresourcegroup produces: - application/json parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter - $ref: '#/parameters/ResourceGroupNameParameter' responses: '200': description: successful operation schema: $ref: '#/definitions/ProfileList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: List NetworkExperiment Profiles in a Resource Group: $ref: ./examples/NetworkExperimentListProfiles.json description: Needs a more full description created. ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName} : get: tags: - NetworkExperimentProfiles summary: Microsoft Azure Gets An Networkexperiment Profile By Profilename operationId: microsoftAzureNetworkexperimentprofilesGet produces: - application/json parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ProfileNameParameter' responses: '200': description: successful operation schema: $ref: '#/definitions/Profile' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: Gets an NetworkExperiment Profile by Profile Id: $ref: ./examples/NetworkExperimentGetProfile.json description: Needs a more full description created. put: tags: - NetworkExperimentProfiles summary: Microsoft Azure Creates An Networkexperiment Profile operationId: microsoftAzureNetworkexperimentprofilesCreateorupdate produces: - application/json parameters: - $ref: '#/parameters/ProfileNameParameter' - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter - $ref: '#/parameters/ResourceGroupNameParameter' - in: body name: parameters description: An Network Experiment Profile required: true schema: $ref: '#/definitions/Profile' responses: '200': description: OK. The request has succeeded. schema: $ref: '#/definitions/Profile' '201': description: Created. The request has been fulfilled and a new protection policy has been created. schema: $ref: '#/definitions/Profile' '202': description: Accepted. The request has been accepted for processing and the operation will complete asynchronously. schema: $ref: '#/definitions/Profile' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-long-running-operation: true x-ms-examples: Creates an NetworkExperiment Profile in a Resource Group: $ref: ./examples/NetworkExperimentCreateProfile.json description: Needs a more full description created. patch: tags: - NetworkExperimentProfiles description: Updates an NetworkExperimentProfiles summary: Microsoft Azure Updates An Networkexperimentprofiles By Networkexperimentprofile Name operationId: microsoftAzureNetworkexperimentprofilesUpdate produces: - application/json parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ProfileNameParameter' - in: body name: parameters description: The Profile Update Model required: true schema: $ref: '#/definitions/ProfileUpdateModel' responses: '200': description: OK. successful operation schema: $ref: '#/definitions/Profile' '202': description: Accepted. The request has been accepted for processing and the operation will complete asynchronously. schema: $ref: '#/definitions/Profile' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-long-running-operation: true x-ms-examples: Updates an Experiment: $ref: ./examples/NetworkExperimentUpdateProfile.json delete: tags: - NetworkExperimentProfiles summary: Microsoft Azure Deletes An Networkexperiment Profile By Profilename operationId: microsoftAzureNetworkexperimentprofilesDelete parameters: - $ref: ./network.json#/parameters/SubscriptionIdParameter - $ref: ./network.json#/parameters/ApiVersionParameter - $ref: '#/parameters/ResourceGroupNameParameter' - $ref: '#/parameters/ProfileNameParameter' responses: '200': description: Delete successful. '202': description: Accepted. The request has been accepted for processing and the operation will complete asynchronously. '204': description: No Content. The request has been accepted but the profile was not found. default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: Deletes an NetworkExperiment Profile by ProfileName: $ref: ./examples/NetworkExperimentDeleteProfile.json x-ms-long-running-operation: true description: Needs a more full description created. definitions: ErrorResponse: description: Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message. type: object properties: code: description: Error code. readOnly: true type: string message: description: Error message indicating why the operation failed. readOnly: true type: string ProfileUpdateProperties: description: Defines the properties of an experiment type: object properties: enabledState: type: string description: The enabled state of the Profile enum: - Enabled - Disabled x-ms-enum: name: state modelAsString: true Profile: description: Defines an Network Experiment Profile and lists of Experiments properties: name: description: The name of the Profile type: string properties: description: The properties of a Profile $ref: '#/definitions/ProfileProperties' x-ms-client-flatten: true etag: type: string description: Gets a unique read-only string that changes whenever the resource is updated. allOf: - $ref: ./network.json#/definitions/Resource ProfileList: description: Defines a list of Profiles. It contains a list of Profile objects and a URL link to get the next set of results. properties: value: type: array readOnly: true items: $ref: '#/definitions/Profile' description: List of Profiles within a resource group. nextLink: type: string description: URL to get the next set of Profile objects if there are any. ProfileProperties: description: Defines the properties of an experiment type: object properties: resourceState: description: Resource status. $ref: '#/definitions/NetworkExperimentResourceState' enabledState: type: string description: The state of the Experiment enum: - Enabled - Disabled x-ms-enum: name: state modelAsString: true ProfileUpdateModel: description: Defines modifiable attributes of a Profile type: object properties: properties: description: The properties of a Profile $ref: '#/definitions/ProfileUpdateProperties' x-ms-client-flatten: true tags: type: object additionalProperties: type: string description: Resource tags. NetworkExperimentResourceState: description: Defines the server side resource status readOnly: true enum: - Creating - Enabling - Enabled - Disabling - Disabled - Deleting type: string x-ms-enum: name: NetworkExperimentResourceState modelAsString: true parameters: ProfileNameParameter: name: profileName in: path required: true type: string pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$ x-ms-parameter-location: method description: The Profile identifier associated with the Tenant and Partner ResourceGroupNameParameter: name: resourceGroupName in: path required: true type: string pattern: ^[a-zA-Z0-9_\-\(\)\.]*[^\.]$ minLength: 1 maxLength: 80 x-ms-parameter-location: method description: Name of the Resource group within the Azure subscription. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'